/**
 * FireFly (2011)
 */
package net.abbp.mtr.event;

import java.util.EventObject;

/**
 * 串口事件
 * 
 * @version 1.0 2011-1-9
 * @author <a herf="lexloo@gmail.com">lexloo</a>
 * @since FireFly 1.0
 */
@SuppressWarnings("serial")
public class SerialEvent extends EventObject {
	// 串口数据
	private String data;

	/**
	 * @param source
	 */
	public SerialEvent(Object source, String data) {
		super(source);
		this.data = data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getData() {
		return data;
	}
}
